<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2023/4/18
  Time: 20:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        html {
            min-height: 100%;
        }

        body {
            background: url("images/welcome.jpg");
            background-size: 110% auto;
            min-height: 100%;
            overflow: hidden;
        }
        .hello{
            height: 80vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .hello>span {
            font-size: 60px;
            color: #e9e316;
        }


    </style>
</head>
<body>


<div class="hello">
    <span>
        <c:if test="${loginuser!=null}">
            ${loginuser.username}你好，欢迎回家！
        </c:if>
        <c:if test="${loginuser==null}">
            请登录
        </c:if>
    </span>
</div>


</body>
</html>
